package com.hzw.saas.common.verify.config;

import org.springframework.stereotype.Component;
import lombok.Data;

/**
 * 邮件服务配置信息
 *
 * @author zzl
 * @since 01/12/2021
 */
@Component
// @ConfigurationProperties(prefix = "aliyun.email", ignoreInvalidFields = true, ignoreUnknownFields = true)
@Data
public class EmailAliyunConfig {

    /**
     *
     */
    private String regionId = "cn-hangzhou";

    /**
     * ak
     */
    private String accessKey;

    /**
     * sk
     */
    private String secretKey;

    /**
     * 发信地址
     */
    private String accountName;

    /**
     * 发信人昵称
     */
    private String fromAlias;

}
